﻿<%@ Page EnableViewState="false" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
    Inherits="DDDProjectSample.WebUI.Default" MasterPageFile="~/Page.Master" %>

<asp:Content ContentPlaceHolderID="LeftContentPlaceHolder" runat="server">
    <asp:Repeater ID="RepeaterForums" runat="server">
        <ItemTemplate>
            <h2>
                <a href="<%# ResolveUrl(String.Concat("~/Forum.aspx?Id=", Eval("Id"))) %>">
                    <%# HttpUtility.HtmlEncode(Eval("Title").ToString()) %></a></h2>
            <p>
                <%# HttpUtility.HtmlEncode(Eval("Description").ToString()) %></p>
            <p class="date">
                <img src="images/more.gif" alt="" />
                <a href="<%# ResolveUrl(String.Concat("~/Forum.aspx?Id=", Eval("Id"))) %>">Access</a></p>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
